package org.han.permission.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.han.base.domain.BaseDomain;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Permission extends BaseDomain {
    private String name; // 权限名
    private String url; // 路径
    private String descs; // 描述
    private String sn; // 唯一标识
    private Long parent_id; // 父级权限id
    // 父级权限名字
    private Permission pname;
    // 权限树
    private List<Permission> children;


}
